﻿
@{
    ViewBag.Title = "Chat";
}

<h2>Chat</h2>







@section Scripts {

<script src="~/Scripts/jquery.signalR-2.2.0.min.js"></script>
<script src="/signalr/hubs"></script>

    <script>
        $(function () {

            var hub = $.connection.echo;

            $.connection.hub
                .start()
                .done(function () {
                    hub.server.say('Hello SignalR!');
                });

        });
    </script>>
}